/**
 * Created by yjj on 2017/6/23.
 */
import SearchBar from './SearchBar.vue';
import UeSearchBar from './UeSearchBar.vue';
import AddressSelect from './addressSelect.vue';
import UeElTreeTable from './ue-tree-table';
import UeElTree from './ue-tree';
import UeElDatePicker from './ue-date-picker';
import UeElTableTreeColumn from './ue-table-tree-column';
import UeMenu from './ue-menu.vue';
import UeTable from './ue-table';
import UeSelect from './ue-select';
import UeElCollapseItem from './ue-collapse-item';
import quillEditor from 'vue-quill-editor';
import * as ue from '../lib/util';

export default {
  install(Vue){
    Vue.prototype.$ue = ue;
    Vue.component('ue-search-bar', UeSearchBar);
    Vue.component('search-bar', SearchBar);
    Vue.component('address-select', AddressSelect);
    Vue.use(UeSelect);
    Vue.use(UeTable);
    Vue.use(UeElTreeTable);
    Vue.use(UeElTree);
    Vue.use(UeElDatePicker);
    Vue.use(UeElTableTreeColumn);
    Vue.use(UeElCollapseItem);
    Vue.use(quillEditor);
    Vue.component('ue-menu', UeMenu);
  }
};

